package com.beaut.project.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

@Repository(value="gdMapper")
public interface GDMapper {
	//转移过来的工单
	public void addZyGdDept(List<Map<String,Object>> list);
	public void addZyGdContentDept(List<Map<String,Object>> list);
	
	public void addZyGdDepting(List<Map<String,Object>> list);
	public void addZyGdContentDepting(List<Map<String,Object>> list);
	
	public void updateGdContentWorkerBg(Map<String,Object> map);
	public void updateFbMoney(Map<String,Object> map);
	public void updateFbPayMent(Map<String,Object> map);
//	public void addZyCBDept(List<Map<String,Object>> list);
//	public void addZyCRDept(List<Map<String,Object>> list);
//	public void addJGRMDept(List<Map<String,Object>> list);
//	public void addPDept(List<Map<String,Object>> list);
//	public void addPADept(List<Map<String,Object>> list);
//	public void addPAUDept(List<Map<String,Object>> list);
//	public void addPPIDept(List<Map<String,Object>> list);
//	public void addRMDept(List<Map<String,Object>> list);
//	public void addRADept(List<Map<String,Object>> list);
//	public void addRAUDept(List<Map<String,Object>> list);
//	public void addSRDept(List<Map<String,Object>> list);
//	public void addSRFDept(List<Map<String,Object>> list);
//	public void addSADept(List<Map<String,Object>> list);
//	public void addSPDept(List<Map<String,Object>> list);
//	public void addUOMDept(List<Map<String,Object>> list);
	//转移过来的工单结束
	/**工单变更部门**/
	public void updateGdDept(Map<String,Object> map);
	public void updateCBDept(Map<String,Object> map);
//	public void updateCbdfsDept(Map<String,Object> map);
	public void updateCRDept(Map<String,Object> map);
	public void updateJGRMDept(Map<String,Object> map);
	public void updatePDept(Map<String,Object> map);
	public void updatePADept(Map<String,Object> map);
	public void updatePAUDept(Map<String,Object> map);
	public void updatePPIDept(Map<String,Object> map);
	public void updateRMDept(Map<String,Object> map);
	public void updateRADept(Map<String,Object> map);
	public void updateRAUDept(Map<String,Object> map);
	public void updateSRDept(Map<String,Object> map);
	public void updateSRFDept(Map<String,Object> map);
	public void updateSADept(Map<String,Object> map);
	public void updateSPDept(Map<String,Object> map);
	public void updateUOMDept(Map<String,Object> map);
	/**工单变更部门**/
	public int checkSameGdCode(Map<String,Object> map);
	public void addGDBase(Map<String,Object> map);
	public void addGDChangeAssume(Map<String,Object> map);
	public void updateGDChangeAssume(Map<String,Object> map);
	public void deleteChangeAssume(Map<String,Object> map);
	public void deleteGDChangeAssumeFB(Map<String,Object> map);
	public void deleteGDChangeAssumeMaterial(Map<String,Object> map);
	public void addGDChangeAssumeFB(List<Map<String,String>> list);
	public void addGDChangeAssumeMaterial(List<Map<String,String>> list);
	public void updateGDBase(Map<String,Object> map);
	public void deleteGDMain(Map<String,Object> map);
	public void deleteGDMainContent(Map<String,Object> map);
	public void updateSupplierApplyMaterial(Map<String,Object> map);
	public void updateSupplierPurchaseMaterial(Map<String,Object> map);
	public void deleteGDMainContent1(Map<String,Object> map);
	public void addGDContent(Map<String,Object> map);
	public void updateGDContent(Map<String,Object> map);
	public void updateGDContentBg(Map<String,Object> map);
	public void updateGDContentBg1(Map<String,Object> map);
	public void subGDContentBg(Map<String,Object> map);
	public void addProcess(Map<String,Object> map);
	public void addGdLoan(Map<String,Object> map);
	public void addGdAdvances(Map<String,Object> map);
	public void addGDNewAdvances(Map<String,Object> map);
	public void addGdYetAdvances(Map<String,Object> map);
	public void updateAdvancesOnMoneyById(Map<String,Object> map);
	public void updateYetAdvancesById(Map<String,Object> map);
	public void updateGdYetAdvancesStatus(Map<String,Object>map);
	public void addGdYetTempAdvances(List<Map<String,String>> list);
	public void updateGdLoan(Map<String,Object> map);
	public void updateGdAdvances(Map<String,Object> map);
	public void updateGdNewAdvances(Map<String,Object> map);
	public void updateGdNewAdvancesStatus(Map<String,Object> map);
	public void deleteGdNewAdvancesDetail(Map<String,Object> map);
	public void deleteGdNewAdvances(List<String> list);
	public void updateGdYetAdvances(Map<String,Object> map);
	public void deleteGdYetTempAdvances(Map<String,Object> map);
	public void updateGdActualLoan(Map<String,Object>map);
	public void updateGdActualAdvances(Map<String,Object>map);
	public void updateGdActualYetAdvances(Map<String,Object>map);
	public void updateGdActualTaYetAdvances(Map<String,Object>map);
	public void updateProcess(Map<String,Object> map);
	public void addSecurity(Map<String,Object> map);
	public void updateSecurity(Map<String,Object> map);
	public void updateGdDescritpionStatus(Map<String,Object> map);
	public void updateGDStatus(Map<String,Object> map);
	public void updateGDCloseTime(Map<String,Object> map);
	public void updateGDActualEnd(Map<String,Object> map);
	public void addGDAttachment(List<Map<String,Object>> list);
	public void deleteGDAttachment(Map<String,Object> map);
	public void deleteProcess(List<String> list);
	public void deleteGdLoan(List<String> list);
	public void deleteGdAdvances(List<String> list);
	public void deleteGdYetAdvances(Map<String,Object> map);
	public void deleteSecurity(List<String> list);
	public void deleteGDAttachmentList(List<String> list);
	public void addGDPlan(List<Map<String,String>> list);
	public void addGDFBDetail(List<Map<String,String>> list);
	public void addGDMaterial(List<Map<String,String>> list);
	public void deleteGDPlan(Map<String,Object> map);
	public void deleteGDFBDetail(Map<String,Object> map);
	public void deleteGDMaterial(Map<String,Object> map);
	public Map<String,Object> getGDChangeAssumeById(Map<String,Object> map);
	public Map<String,Object> getGDBaseById(Map<String,Object> map);
	public Map<String,Object> getProcessById(Map<String,Object> map);
	public Map<String,Object> getGdLoanById(Map<String,Object> map);
	public Map<String,Object> getGdAdvancesById(Map<String,Object> map);
	public Map<String,Object> getGdNewAdvancesById(Map<String,Object> map);
	public Map<String,Object> getGdYetAdvancesById(Map<String,Object> map);
	public List<Map<String,Object>> getGdYetAdvances(Map<String,Object> map);
	public List<Map<String,Object>> listGdByXmId(Map<String,Object> map);
	public List<Map<String,Object>> getGdYetAdvancesAllById(Map<String,Object> map);
	public Map<String,Object> getSecurityById(Map<String,Object> map);
	public Map<String,Object> getGDContentByGDId(Map<String,Object> map);
	public Map<String,Object> getGDContentByContentId(Map<String,Object> map);
	public Map<String,Object> getGDCustomerReturnFlowNum(Map<String,Object> map);
	public Map<String,Object> getDbBorrowMaterialNum(Map<String,Object> map);
	public Map<String,Object> getGdAssMaterial(Map<String,Object> map);
	public Map<String,Object> getDbBorrowMaterial(Map<String,Object> map);
	public Map<String,Object> getSelfMaterialReturnNum(Map<String,Object> map);
	public List<Object> getGDControl(Map<String,Object> map);
	public Map<String,Object> getGDChangeControl(Map<String,Object> map);
	public List<Map<String,String>> getGDAttachmentByGDId(Map<String,Object> map);
	public List<Map<String,Object>> listPageGDBase(Map<String,Object> map);
	public List<Map<String,Object>> listPageGdNoLx(Map<String,Object> map);
	public List<Map<String,Object>> listPageWarehouseGD(Map<String,Object> map);
	public List<Map<String,Object>> listPageGDStatisticDetail(Map<String,Object> map);
	public List<Map<String,Object>> listGDContent(Map<String,Object> map);
	public List<Map<String,Object>> listPageGDPlan(Map<String,Object> map);
	public List<Map<String,Object>> listPageMaterial(Map<String,Object> map);
	public List<Map<String,Object>> listPageChangeMaterial(Map<String,Object> map);
	public List<Map<String,Object>> listPageChangeFBDetail(Map<String,Object> map);
	public List<Map<String,Object>> listPageSupplierDB(Map<String,Object> map);
	public List<Map<String,Object>> listPageGd(Map<String,Object> map);
	public List<Map<String,Object>> listPageTmpGd(Map<String,Object> map);
	public List<Map<String,Object>> listPageGDSupplierAlreadyApplyForPurchase(Map<String,Object> map);
	public List<Map<String,Object>> listGDSupplierAlreadyApplyForPurchaseDetail(Map<String,Object> map);
	public List<Map<String,Object>> listPageGDChangeAssume(Map<String,Object> map);
	public List<Map<String,Object>> listPageGDReturn(Map<String,Object> map);
	public List<Map<String,Object>> listGDReturnDetail(Map<String,Object> map);
	public List<Map<String,Object>> listPageFBDetail(Map<String,Object> map);
	public List<Map<String,Object>> listPageSelfMaterial(Map<String,Object> map);
	public List<Map<String,Object>> listPageGDDescription(Map<String,Object> map);
	public List<Map<String,Object>> getChangeAssumeFB(Map<String,Object> map);
	public List<Map<String,Object>> getChangeAssumeMaterial(Map<String,Object> map);
	public void addGDDescription(Map<String,Object> map);
	public Map<String,Object> getGDBaseAndContentById(Map<String,Object> map);
	public void updateGDDescription(Map<String,Object> map);
	public void updateGDBaseWork(Map<String,Object> map);
	public void deleteGdDescritpion(Map<String,Object> map);
	public Map<String,Object> getGDDescriptionById(Map<String,Object> map);
	public List<Map<String,Object>> getGDDescriptionByGdId(Map<String,Object> map);
	public List<Map<String,Object>> listPageGDSelfRequest(Map<String,Object> map);
	public List<Map<String,Object>> listGDSelfRequestDetail(Map<String,Object> map);
	public List<Map<String,Object>> listGDJgRequestDetail(Map<String,Object> map);
	public List<Map<String,Object>> listGDJgRequestDetailPrint(Map<String,Object> map);
	public Map<String,Object> getSelfRequestById(Map<String,Object> map);
	public Map<String,Object> getXmBygdId(Map<String,Object> map);
	public Map<String,Object> getGdBorrowByDetialId(Map<String,Object> map);
	public Map<String,Object> getJgRequestById(Map<String,Object> map);
	public void addGDSelfRequest(Map<String,Object> map);
	public void addGDSelfRequestDetail(List<Map<String,String>> list);
	public void addGDJgRequest(Map<String,Object> map);
	public void addGDJgRequestDetail(List<Map<String,String>> list);
	public void updateGDSelfRequest(Map<String,Object> map);
	public void deleteGDSelfRequestDetail(Map<String,Object> map);
	public void updateGDJgRequest(Map<String,Object> map);
	public void deleteGDJgRequestDetail(Map<String,Object> map);
	public void deleteGDCustomerBorrowDetail(Map<String,Object> map);
	public void deleteGDCustomerReturnDetail(Map<String,Object> map);
	public void deleteSelfRequest(Map<String,Object> map);
	public void deleteJgRequest(Map<String,Object> map);
	public void addGDCustomerBorrow(Map<String,Object> map);
	public void addGDCustomerReturn(Map<String,Object> map);
	public void updateGDCustomerBorrow(Map<String,Object> map);
	public void updateGDCustomerReturn(Map<String,Object> map);
	public void addGDCustomerBorrowDetail(List<Map<String,String>> list);
	public void addGDCustomerReturnDetail(List<Map<String,String>> list);
	public List<Map<String,Object>> listPageGDCustomerBorrow(Map<String,Object> map);
	public List<Map<String,Object>> listPageGDCustomerReturn(Map<String,Object> map);
	public List<Map<String,Object>> listPageBorrowSet(Map<String,Object> map);
	public List<Map<String,Object>> listPageBorrowSetXm(Map<String,Object> map);
	public List<Map<String,Object>> listGDCustomerBorrowDetail(Map<String,Object> map);
	public List<Map<String,Object>> listGDCustomerReturnDetail(Map<String,Object> map);
	public Map<String,Object> getMyBorrowDetailForSelf(Map<String,Object> map);
	public List<Map<String,Object>> getOtherBorrowDetailForSelf(Map<String,Object> map);
	public List<Map<String,Object>> listPageProcess(Map<String,Object> map);
	public List<Map<String,Object>> listPageGdLoan(Map<String,Object> map);
	public List<Map<String,Object>> getGdLoan();
	public List<Map<String,Object>> listGdYetAdvancesByYetId(Map<String,Object> map);
	public List<Map<String,Object>> listGdYetAdvance(Map<String,Object> map);
	public List<Map<String,Object>> listPageGdAdvances(Map<String,Object> map);
	public List<Map<String,Object>> listPageGdNewAdvances(Map<String,Object> map);
	public List<Map<String,Object>> listPageJgRequestMateria(Map<String,Object> map);
	public List<Map<String,Object>> listPageFinanceGdAdvances(Map<String,Object> map);
	public List<Map<String,Object>> getFinanceGdAdvances();
	public List<Map<String,Object>> listPageGdYetAdvances(Map<String,Object> map);
	public List<Map<String,Object>> listGdNewAdvancesDetail(Map<String,Object> map);
	public List<Map<String,Object>> getGdYetAdvance();
	public List<Map<String,Object>> listPageGdYetAdvancesDetail(Map<String,Object> map);
	public List<Map<String,Object>> listPageSecurity(Map<String,Object> map);
	public Map<String,Object> getCustomerBorrowById(Map<String,Object> map);
	public Map<String,Object> getPurchaseNum(Map<String,Object> map);
	public Map<String,Object> getCustomerBorrowDetailById(Map<String,Object> map);
	public Map<String,Object> getCustomerReturnById(Map<String,Object> map);
	public void deleteCustomerBorrow(Map<String,Object> map);
	public void deleteCustomerReturn(Map<String,Object> map);
	public List<Map<String,Object>> listPageGDReuse(Map<String,Object> map);
	public List<Map<String,Object>> listPageGDPurchaseApply(Map<String,Object> map);
	public List<Map<String,Object>> listPageGDPurchaseReturnApply(Map<String,Object> map);
	public List<Map<String,Object>> listPageGDSupplierApply(Map<String,Object> map);
	public List<Map<String,Object>> listPageGDPurchaseApplyUse(Map<String,Object> map);
	public List<Map<String,Object>> listGDPurchaseReturnApplyDetail(Map<String,Object> map);
	public List<Map<String,Object>> listGDPurchaseApplyDetail(Map<String,Object> map);
	public List<Map<String,Object>> listGDJgApplyDetail(Map<String,Object> map);
	public List<Map<String,Object>> listGDYgApplyDetail(Map<String,Object> map);
	public List<Map<String,Object>> listGDPurchaseApplyDetail1(Map<String,Object> map);
	public List<Map<String,Object>> listGDSupplierApplyDetail(Map<String,Object> map);
	public List<Map<String,Object>> listGDSupplierApplyDetail1(Map<String,Object> map);
	public List<Map<String,Object>> listGDPurchaseApplyUseDetail(Map<String,Object> map);
	public List<Map<String,Object>> listGDReuseDetail(Map<String,Object> map);
	public void addGDReuse(Map<String,Object> map);
	public void addGDReuseDetail(List<Map<String,String>> list);
	public void updateGDReuse(Map<String,Object> map);
	public void deleteGDReuseDetail(Map<String,Object> map);
	public void deleteReuse(Map<String,Object> map);
	public Map<String,Object> getReuseById(Map<String,Object> map);
	public List<Map<String,Object>> listPageGDRecovery(Map<String,Object> map);
	public List<Map<String,Object>> listPageGDSupplierApplyForPurchase(Map<String,Object> map);
	public List<Map<String,Object>> listGDSupplierApplyForPurchaseDetail(Map<String,Object> map);
	public List<Map<String,Object>> listGDPurchaseApply(Map<String,Object> map);
	public List<Map<String,Object>> listGDRecoveryDetail(Map<String,Object> map);
	public void addGDRecovery(Map<String,Object> map);
	public void addGDRecoveryDetail(List<Map<String,String>> list);
	public void updateGDRecovery(Map<String,Object> map);
	public void updateGdJgApplyMaterial(Map<String,Object> map);
	public void updateGdYgApplyMaterial(Map<String,Object> map);
	public void deleteGDRecoveryDetail(Map<String,Object> map);
	public void deleteRecovery(Map<String,Object> map);
	public Map<String,Object> getPurchaseApplyDetail(Map<String,Object> map);
	public Map<String,Object> getJgMaterialTotalNum(Map<String,Object> map);
	public Map<String,Object> getCustomerMaterialTotalNum(Map<String,Object> map);
	public Map<String,Object> getSupplierTotalNum(Map<String,Object> map);
	public Map<String,Object> getSelfMaterialTotalNum(Map<String,Object> map);
	public Map<String,Object> getSelfMaterialTotalNum1(Map<String,Object> map);
	public Map<String,Object> getRecoveryById(Map<String,Object> map);
	public Map<String,Object> getProjectMaterialNum(Map<String,Object> map);
	public Map<String,Object> getProjectMaterialDB(Map<String,Object> map);
	public void updateAssumeMaterial(Map<String,Object> map);
	public void updateNewAssumeMaterial(Map<String,Object> map);
	public void updateBorrowDetail(Map<String,Object> map);
	public int checkAllReturn(Map<String,Object> map);
	public void updateBorrowStatus(Map<String,Object> map);
	public void addBorrowDetailForSelf(List<Map<String,Object>> list);
	public void addGDPurchaseApply(Map<String,Object> map);
	public void addGDReturn(Map<String,Object> map);
	public void updateGDReturn(Map<String,Object> map);
	public void addGDPurchaseReturnApply(Map<String,Object> map);
	public void addGDSupplierApply(Map<String,Object> map);
	public void addGDPurchaseApplyUse(Map<String,Object> map);
	public void updateGDPurchaseApply(Map<String,Object> map);
	public void updateGDPurchaseReturnApply(Map<String,Object> map);
	public void updateGDSupplierApply(Map<String,Object> map);
	public void updateGDPurchaseApplyUse(Map<String,Object> map);
	public void deleteGDPurchaseApplyDetail(Map<String,Object> map);
	public void deleteGdReturnApplyDetail(Map<String,Object> map);
	public void deleteGDPurchaseReturnApplyDetail(Map<String,Object> map);
	public void subGDPurchaseApplyNum(Map<String,Object> map);
	public void updateGDBaseCreateTime(Map<String,Object> map);
	public void deleteGDSupplierApplyDetail(Map<String,Object> map);
	public void deleteGDPurchaseApplyUseDetail(Map<String,Object> map);
	public void deletePurchaseApply(Map<String,Object> map);
	public void deletePurchaseReturnApply(Map<String,Object> map);
	public void deleteGdReturnApply(Map<String,Object> map);
	public void deleteSupplierApply(Map<String,Object> map);
	public void deletePurchaseApplyUse(Map<String,Object> map);
	public void addGDPurchaseApplyDetail(List<Map<String,String>> list);
	public void addGDPurchaseReturnApplyDetail(List<Map<String,String>> list);
	public void addGDReturnDetail(List<Map<String,String>> list);
	public void addGDSupplierApplyDetail(List<Map<String,String>> list);
	public void addGDNewAdvancesDetail(List<Map<String,String>> list);
	public void addGDPurchaseApplyUseDetail(List<Map<String,String>> list);
	public Map<String,Object> getPurchaseApplyById(Map<String,Object> map);
	public Map<String,Object> getPurchaseReturnApplyById(Map<String,Object> map);
	public Map<String,Object> getReturnApplyById(Map<String,Object> map);
	public Map<String,Object> getSupplierApplyById(Map<String,Object> map);
	public Map<String,Object> getPurchaseApplyUseById(Map<String,Object> map);
	public void updatePurchaseApplyDetail(Map<String,Object> map);
	public Map<String,Object> getSupplierPurchase(Map<String,Object> map);
	public List<Map<String,Object>> getGDBalanceMaterial(Map<String,Object> map);
	public List<Map<String,Object>> getGDBalanceMaterialBefore(Map<String,Object> map);
	public List<Map<String,Object>> listGDMaterialBalanceByGdId(Map<String,Object> map);
	public void addGDMaterialBalance1(List<Map<String,String>> list);
	public void addGDMaterialBalance(List<Map<String,String>> list);
	public int hasBalance(Map<String,Object> map);
	public int checkGDLoan(Map<String,Object> map);
	public List<Map<String,Object>> hasFBBalance(Map<String,Object> map);
	public void updateGDMaterialBalance1(Map<String,String> map);
	public void updateGDMaterialBalance(Map<String,String> map);
	public List<Map<String,Object>> getGDWorker(Map<String,Object> map);
	public Map<String,Object> getGDWorkerMoney(Map<String,Object> map);
	public void addFBBalanceMain(Map<String,Object> map);
	public int isExistFBBalance(Map<String,Object> map);
	public void updateFBBalanceMain(Map<String,Object> map);
	public void updateFBBalanceDetails(Map<String,String> map);
	public List<Map<String,Object>> listPageFBBalanceByGdId(Map<String,Object> map);
	public Map<String,Object> getFBMoney(Map<String,Object> map);
	public int getBcgMaterial(Map<String,Object> map);
	public int checkAssumeMaterialControl(Map<String,Object> map);
	public List<Map<String,Object>> listGDAssumeMaterial(Map<String,Object> map);
	//流程第一步插件-----start
	public void reusePluginForward(Map<String,Object> map);
	public void reusePluginBack(Map<String,Object> map);
	public void jgRequestPluginForward(Map<String,Object> map);
	public void jgRequestPluginBack(Map<String,Object> map);
	public void customerBorrowPluginForward(Map<String,Object> map);
	public void customerBorrowPluginBack(Map<String,Object> map);
	public void selfBorrowPluginForward(Map<String,Object> map);
	public void selfBorrowPluginBack(Map<String,Object> map);
	public void supplierApplyPluginForward(Map<String,Object> map);
	public void supplierApplyPluginBack(Map<String,Object> map);
	public void purchaseApplyPluginForward(Map<String,Object> map);
	public void purchaseApplyPluginBack(Map<String,Object> map);
	
	//流程第一步插件-----end
	public void updateAssumeQueueMaterial(Map<String,Object> map);
	public void updateAssumeSubMaterial(Map<String,Object> map);
	public void addSelfRequestFP(Map<String,Object> map);
	public List<Map<String,Object>> getSelfRequestFP(Map<String,Object> map);
	public void deleteSelfRequestFP(Map<String,Object> map);
	//定时提醒方法
	public List<Map<String,Object>> getGDAlarm(Map<String,Object> map);
	
	//工单处非预警通知处理
	public Map<String,Object> getGdDescriptionAlarm(Map<String,Object> map);
	/**
	* 撤销项目工单回挡
	* @author xf
	* @Time 2017-02-18
	*
	*/
	public void updateGdByXmCancel(Map<String,Object> map);
	void deleteGdInfo(Map<String,Object> map);
	List<Map<String,Object>> listPageGDDel(Map<String,Object> map);

}
